package com.arpa.ntocc.common.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 消息通知DTO
 * </p>
 *
 * @author wangkf
 * @since 2020-01-19
 */
@Data
@ApiModel(value="NoticeVO对象", description="消息通知")
public class NoticeVO implements Serializable {


    private String code;

    private String branchCode;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String noticeContent;

    @ApiModelProperty(value = "0短信，1推送")
    private Integer noticeType;

    @ApiModelProperty(value = "司机推送范围")
    private String pushScopeDriver;

    @ApiModelProperty(value = "货主推送范围")
    private String pushScopeShipper;

    @ApiModelProperty(value = "总数")
    private Long total;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;
}
